package com.zy.dp.singleton.example7;

public class Singleton
{

	private static class SingletonHolder
	{

		private static Singleton instance = new Singleton();

	}

	private Singleton()
	{

	}

	public static Singleton getInstance()
	{

		return SingletonHolder.instance;

	}

}
